package lpl.com.xyd.test.manage.common.factory;

import lpl.com.xyd.test.manage.common.domain.Domain;

import java.util.List;

//import hx.data.mybatis.param.PageParam;

/**
 * @Author mingliang
 * @Date 2017-08-31 10:29
 */

public abstract class AbstractDomainFactory<T extends Domain, E extends Object>{

    public abstract T create (E param);

    public abstract T active(String domainId);

    public abstract List<T> activeList(E param);

    public abstract  Boolean store(T domain);

    public abstract Boolean reStore(T domain);

    public abstract Boolean reStore(List<T> domains);

    public abstract boolean delete(Long domainId);

    public abstract boolean delete(List<Long> domainId);
}
